<?php require_once 'source.php';?>
<?php require_once 'config.php';?>
<?php 
	session_start();
	session_cache_limiter('private');
	if($_SESSION['userid']==''||$_SESSION['level']!=ADMINISTRATOR){
		header("LOCATION:error.php?errcode=2");
	}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo SYSTITLE?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body class="w">
<div class="wrapper wrapper_index" style="text-align:center;padding-top:30px;">
	<h1 style="text-align:center;"><?php echo TEMPDBUTIL?></h1>
	<form name="dbutil" action="service/service_dbutil.php" method="post">
	<input type="hidden" name="dbutilflag" value="start"/>
	<input type="submit" value="<?php echo START?>" style="font-size:18px; margin:10px auto;padding:5px 15px;"/>
	</form>
	<?php 
		if(isset($_GET['code'])&&$_GET['code']==1){
	?>
		<h2 style="color:red"><?php echo DBEXECUTEOVER?></h2>
	<?php		
		}
	?>
</div>
</body>
</html>
